<template>
  <div>
    <el-pagination
        background
        layout="prev, pager, next, total, sizes"
        :page-sizes="[1, 3, 5, 10, 20]"
        :total="page.total"
        v-model:page-size="page.pageSize"
        v-model:current-page="page.pageNumber"
        @current-change="query"
        @size-change="query"
      />
  </div>

</template>
<script setup>
defineProps(['page']);
const emit = defineEmits(['info-change']);
const query = () => {
  emit('info-change');
};
</script>


<!---->
<style scoped></style>;